@layout("/common/_containerq.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0">
        <input type="hidden" id="status" value="">
        <input type="hidden" id="outpatientName" value="${outpatientName}">
        <input type="hidden" id="userid" value="${userid}">
        <input type="hidden" id="userName" value="${userName}">
        <input type="hidden" id="abbreviation" value="${abbreviation}">
        <input type="hidden" id="areaAbbreviation" value="${areaAbbreviation}">
        <div class="numStatistics">
            <div style="display: none"></div>
            <div id="totalAllNumber" onclick="QualityAssurances.totalAllNumber('1')"><span>已执行智能评分</span>（<span id="first">0</span>）</div>
            <div onclick="QualityAssurances.totalAllNumber('2')"><span>未执行智能评分</span>（<span id="two">0</span>）</div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div style="margin-right: 15px;">
                    <span>上传时间</span>
                    <input type="text" id="startUploadTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" id="endUploadTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                </div>
                <div style="margin-right: 15px;">
                    <input type="text" id="addName" onchange="QualityAssurances.search();" placeholder="上传人姓名" autocomplete="off" style="vertical-align: middle;">
                </div>
                <div style="margin-right: 15px;">
                    <span>片区</span>
                    <select id="area" name="area" class="selectBox" onchange="QualityAssurances.getData()" style="width: 115px;">
                        <option value="">请选择</option>
                        @for(str in areaList){
                        <option value="${str.areaAbbreviation}">${str.area}</option>
                        @}
                    </select>
                </div>
                <div>
                    <span>门诊</span>
                    <select id="arrivalStore" onchange="QualityAssurances.search();" name="arrivalStore" style="width: 115px;">
                        @for(str in outpatientManagementList){
                        <option value="${str.simplename}">${str.simplename}</option>
                        @}
                    </select>
                </div>
                <div style="margin-left: 15px;" class="isQualified">
                    <span>是否合格</span>
                    <select id="scoreTOTAL" onchange="QualityAssurances.search();" name="scoreTOTAL" style="width: 115px;">
                        <option value="">全部</option>
                        <option value="1">合格</option>
                        <option value="2">不合格</option>
                    </select>
                </div>
            </div>
            <div class="buttonBox" style="flex: 2.5;">
                <div>
                    <button type="button" class="btn" onclick="QualityAssurances.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    <button type="button" class="btn" id="intelligenceg" onclick="QualityAssurances.gouScoring()"><span>勾选评分</span></button>
                    <button type="button" class="btn" id="intelligence" onclick="QualityAssurances.intelligentScoring()"><span>智能评分</span></button>
                    <button type="button" class="btn" onclick="$('#QualityAssurancesOneTable').tableExport({ type: 'excel', escape: 'false' })">
                        <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/export.png"><span>导出</span></button>
                </div>
            </div>
        </div>
        <div class="tableBox">
            <#table id="QualityAssurancesOneTable"/>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/qualityAssurance/qualityAssurances.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/tcCenter/consultant/doctorSearchContent.js?v=20200718"></script>
<script>
    $(document).ready(function() {
        $('#QualityAssurancesOneTable').on('click','.imagePath',function (e) {
            $(e.target).Magnify({
                Toolbar: ['prev', 'next', 'rotateLeft', 'rotateRight', 'zoomIn', 'actualSize', 'zoomOut'],
                keyboard:true, draggable:true, movable:true, modalSize:[1100,700],
                beforeOpen:function (obj,data) {}, opened:function (obj,data) {},
                beforeClose:function (obj,data) {}, closed:function (obj,data) {},
                beforeChange:function (obj,data) {}, changed:function (obj,data) {}
            });
        });
    });
</script>
@}
